package com.xdjd.mobile.business.dao.daoservice.activity;

import com.xdjd.mobile.business.dao.mapper.activity.ActivityClockAdditionalPoDao;
import com.xdjd.mobile.business.entity.model.activity.ActivityClockAdditionalPo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class ActivityClockAdditionalPoService {

    @Autowired
    private ActivityClockAdditionalPoDao activityClockAdditionalPoDao;

    public void saveClockAdditional(ActivityClockAdditionalPo po) {
        po.setCreateTime(new Date());
        po.setModifyTime(new Date());
        activityClockAdditionalPoDao.save(po);
    }
}
